package com.rzj.sys_lab_assistant.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;

/**
 * @program: sys_lab_assistant
 * @description: 招聘岗位实体类
 * @author: 作者
 * @create: 2021-06-30 18:53
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("recruitment_post")
public class RecruitmentPost {

    private int postId; // 岗位编号

    private String postName; // 岗位名称

    private String postContent; // 岗位内容

    private int planId; // 招聘计划编号

    private Timestamp createTime; // 创建时间

    private Timestamp modifyTime; // 更新时间

    public RecruitmentPost(int postId, String postName, String postContent, int planId) {
        this.postId = postId;
        this.postName = postName;
        this.postContent = postContent;
        this.planId = planId;
    }
}
